#ifndef _H_GATHER_DATA_HANDLER_M
#define _H_GATHER_DATA_HANDLER_M
#include "FreeRTOS.h"
#include "heart_task.h"
//存储原始数据
typedef struct GatherData{
	
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
	
} GatherData;

//处理以后的数据
typedef struct TargetGatherData{
	
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
	
} TargetGatherData;

void dataHandler(GatherData *source);


#endif